export default {
	css: {
		// 根节点若无尺寸，自动获取父级节点
		width: '750rpx',
		height: '750rpx'
	},
	views: [{
			type: 'image',
			src: '${背景图}',
			css: {
				width: '750rpx',
				height: '750rpx',
				position: 'absolute',
				objectfit: 'cover',
				borderRadius: '20rpx',
			}
		},
		{
			css: {
				zIndex: 1,
				display: 'flex',
				position: "absolute",
				padding: '15px',
				alignItems: 'flex-start',
			},
			views: [{
					css: {
						width: '70%'
					},
					views: [{
							css: {
								width: '30px',
								height: '30px',
								textAlign: 'center',
								lineHeight: '30px',
								background: '#3c62dc',
								display: 'inline-block',
								borderRadius: '5px',
							},
							views: [{
								type: 'text',
								text: '宜',
								css: {
									fontSize: '20px',
									color: "white"
								},
							}],
							type: 'view'
						},
						{
							type: 'text',
							text: '${宜}',
							css: {
								paddingTop: '5px',
								display: 'block',
								fontSize: '15px',
								color: "${颜色}"
							},
						},
						{
							css: {
								width: '30px',
								height: '30px',
								textAlign: 'center',
								lineHeight: '30px',
								background: '#e9766a',
								display: 'inline-block',
								borderRadius: '5px',
								marginTop: '40px'
							},
							views: [{
								type: 'text',
								text: '忌',
								css: {
									fontSize: '20px',
									color: "white"
								},
							}],
							type: 'view'
						},
						{
							type: 'text',
							text: '${忌}',
							css: {
								paddingTop: '5px',
								display: 'block',
								fontSize: '15px',
								color: "${颜色}"
							},
						},
					],
					type: 'view'
				},
				{
					css: {
						width: '30%',
						textAlign: 'right',
					},
					views: [{
							type: 'text',
							text: '${年月日}',
							css: {
								fontSize: '15px',
								color: "${颜色}"
							},
						},
						{
							type: 'text',
							text: '${阴历月日}',
							css: {
								paddingTop: '5px',
								fontSize: '15px',
								color: "${颜色}"
							},
						},
						{
							type: 'text',
							text: '${年}',
							css: {
								paddingTop: '5px',
								fontSize: '15px',
								color: "${颜色}"
							},
						},
						{
							type: 'text',
							text: '${黄历月日}',
							css: {
								paddingTop: '5px',
								fontSize: '15px',
								color: "${颜色}"
							},
						}
					],
					type: 'view'
				}
			],
			type: 'view'
		}, {
			css: {
				padding: '15rpx',
				position: "absolute",
				bottom: '30rpx',
				left: '20rpx',
				width: '680rpx',
				display: 'flex',
				alignItems: 'center',
				background: 'rgba(255,255,255,.8)',
				borderRadius: '5px',
			},
			views: [{
					type: 'image',
					src: '${头像}',
					css: {
						objectFit: "cover",
						width: "105rpx",
						border: "2rpx solid #fff",
						boxSizing: "border-box",
						height: "105rpx",
						borderRadius: "50%",
						marginRight: '9px'
					}
				},
				{
					css: {
						flex: 1
					},
					views: [{
							type: 'text',
							text: '连续早起',
							css: {
								fontSize: '15px',
								display:'block'
							},
						},
						{
							type: 'text',
							text: '第 ${天数} 天',
							css: {
								paddingTop: '5px',
								fontSize: '19px',
								fontWeight: 'bold',
								display:'block'
							},
						}
					],
					type: 'view'
				},
				{
					views: [{
							type: 'text',
							text: '今日打卡',
							css: {
								fontSize: '15px',
								display: 'block',
							},
						},
						{
							type: 'text',
							text: '${时间}',
							css: {
								display: 'block',
								paddingTop: '5px',
								fontSize: '19px',
								fontWeight: 'bold'
							},
						}
					],
					type: 'view'
				},
				{
					css: {
						display: 'flex',
						marginLeft: '20rpx'
					},
					views: [{
							type: 'qrcode',
							text: '${二维码}',
							css: {
								padding: '5px',
								width: '130rpx',
								height: '130rpx',
								background: 'white',
								display: 'block',
								marginRight: '10rpx'
							}
						},
						{
							type: 'text',
							text: "扫\n码\n说\n早\n安",
							css: {
								fontSize: '28rpx',
								lineHeight: '30rpx',
								writingMode: 'vertical-lr'
							},
						}
					],
					type: "view"
				}
			],
			type: 'view'
		}
	]
}